/*
 * Created on Dec 21, 2004
 *
 * TODO To change the template for this generated file go to
 * Window - Preferences - Java - Code Style - Code Templates
 */
package com.ba360.struts.form;

import java.util.Vector;

/**
 * @author ROnat
 *
 * TODO To change the template for this generated type comment go to
 * Window - Preferences - Java - Code Style - Code Templates
 */
public class ActivitesBean {


	Vector activities;
	public ActivityBean[] getActivity()
	{
		ActivityBean[] ab = new ActivityBean[activities.size()];
        if (activities.size() > 0) activities.copyInto(ab);

        return ab;
	}
	public void setActivity(ActivityBean[] ab)
	{
		activities = new Vector(ab.length);
		for (int i=0; i < ab.length; i++)
        {
            activities.addElement(ab[i]);
        }
	}
		
				
		
}
